﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using InTheHand;
using InTheHand.Net.Sockets;

namespace BlueAd
{
    public class Campain 
    {
        public Campain(string name)
        {
            Name = name;
            Description = "";
            Start = DateTime.Now;
            End = DateTime.Now;
            Duration = End - Start;
            TargetAllDevices = false;
            Enabled = false;
            TargetDevices = new List<BluetoothDeviceInfo>();
            SendedDevices = new List<BluetoothDeviceInfo>();
            Files = new List<FileInfo>();
        }

        public override string ToString()
        {
            return Name;
        }



        public Guid Id { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public DateTime Start { get; set; }
        public TimeSpan Duration { get; set; }
        public DateTime End { get; set; }
        public List<BluetoothDeviceInfo> TargetDevices { get; set; }
        public List<BluetoothDeviceInfo> SendedDevices { get; set; }
        public bool TargetAllDevices { get; set; }
        public bool Enabled { get; set; }

        public List<FileInfo> Files { get; set; }

    }
}
